package com.e3.basdoc.warehouse.client;

import java.util.List;

import com.e3.basdoc.warehouse.model.WarehouseModel;
import com.e3.basdoc.warehouse.model.WarehouseQC;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface WarehouseRPCServiceAsync {

	void newWarehouse(WarehouseModel model,	AsyncCallback<WarehouseModel> callback);

	void modifyWarehouse(WarehouseModel model,AsyncCallback<WarehouseModel> callback);

	void getWarehouseByCondition(WarehouseQC qc,AsyncCallback<List<WarehouseModel>> callback);

	void deleteWarehouses(List<WarehouseModel> models,AsyncCallback<Void> callback);

}
